package com.simple.datax.flow.service;

import com.simple.datax.flow.dao.ibatis.model.FlowPreProcessor;
import com.simple.datax.flow.dao.ibatis.model.FlowTransmission;

/** 
 * @Title: PreProcessorManager.java 
 * @Package com.simple.datax.flow.service 
 * @Description: TODO(进入流程后和退出流程前的预处理管理器) 
 * @author tonney 
 * @date 2013-1-7 下午03:06:45 
 * @version V1.0 
 */
public interface PreProcessorManager {
	/**
	 * 根据条件查询协议企业接收后报文预处理器
	 * @param preProcessor
	 * @return
	 */
	public FlowPreProcessor getFlowPreProcessor(String ecode,String messageType,String activityNo,String flowTemplateId);
	
	/**
	 * 根据条件查询协议企业发送前预处理器
	 * @param preProcessor
	 * @return
	 */
	public FlowTransmission getTransmission(FlowTransmission transmission,String flowTemplateId);

}
